/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.wx.entity;

import org.hibernate.validator.constraints.Length;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;
import com.jeesite.common.mybatis.mapper.query.QueryType;

/**
 * 返佣Entity
 * @author wangjianxin
 * @version 2018-09-28
 */
@Table(name="wx_activity_dis", alias="a", columns={
		@Column(name="id", attrName="id", label="id", isPK=true),
		@Column(name="dis_value", attrName="disValue", label="dis_value"),
		@Column(includeEntity=DataEntity.class),
	}, orderBy="a.update_date DESC"
)
public class WxActivityDis extends DataEntity<WxActivityDis> {
	
	private static final long serialVersionUID = 1L;
	private String disValue;		// dis_value
	
	public WxActivityDis() {
		this(null);
	}

	public WxActivityDis(String id){
		super(id);
	}
	
	@Length(min=0, max=200, message="dis_value长度不能超过 200 个字符")
	public String getDisValue() {
		return disValue;
	}

	public void setDisValue(String disValue) {
		this.disValue = disValue;
	}
	
}